package me.firstapp.spi.shop;

import me.firstapp.common.json.ListObject;
import me.firstapp.common.json.SingleObject;
import me.firstapp.common.module.shop.JsonProductComment;

public interface ProductCommentService {

	/**
	 * 调用查询商品评论列表接口
	 * 
	 * @param productId
	 * @return
	 */
	ListObject<JsonProductComment> findProductCommentList(Long productId);

	/**
	 * 调用新增商品评论接口
	 * 
	 * @param content
	 * @param orderNo
	 * @param productId
	 * @param fromMemberId
	 * @return
	 */
	SingleObject<JsonProductComment> addProductComment(String content, String orderNo, Long productId,
			Long fromMemberId);
}
